package top.byteio.common.mq.pojo;

import lombok.Getter;
import top.byteio.common.core.constants.MqConstants;

/**
* 消息角色类型
* @author lerryxia
*/
@Getter
public enum MqRole {
    PRODUCER(MqConstants.PRODUCER),
    CONSUMER(MqConstants.CONSUMER);

    private final String role;

    MqRole(String role) {
        this.role = role;
    }

}
